# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=	nimbus
PORTVERSION=	1.2
CATEGORIES=	x11-themes xfce
MASTER_SITES=	http://xfce-look.org/CONTENT/content-files/
DISTNAME=	164657-xfcenimbus-${PORTVERSION}
PKGNAMEPREFIX=	xfwm4-
PKGNAMESUFFIX=	-theme

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Xfwm theme of Nimbus

LICENSE=	GPLv2

RUN_DEPENDS=	nimbus>=0.1.7:${PORTSDIR}/x11-themes/nimbus

WRKSRC=	${WRKDIR}/xfcenimbus-${PORTVERSION}

NO_BUILD=	yes

pre-install:
.for dir in nimbus light-nimbus dark-nimbus
	${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/${dir}
.endfor

do-install:
.for dir in nimbus light-nimbus dark-nimbus
	cd ${WRKSRC}/${dir} && \
		${COPYTREE_SHARE} . \
		${STAGEDIR}${PREFIX}/share/themes/${dir}
.endfor

.include <bsd.port.mk>
